﻿Public Class NhanVienBUS

    Private empDAL As NhanVienDAO

    Public Sub New()
        empDAL = New NhanVienDAO
    End Sub

    Public Function Getdata() As List(Of NhanVienDTO)
        Return empDAL.Getdata()
    End Function

    Public Function IsUpNV(ByVal emp As NhanVienDTO, ByVal f As Boolean) As Boolean
        Return empDAL.IsUpNV(emp, f)
    End Function

    Public Function DeleteNV(ByVal emp As NhanVienDTO)
        Return empDAL.DeleteNV(emp)
    End Function

End Class
